<?php

return array(
    'elements' => array(
        'comment_message' => array(
			'type' => 'textarea',
			'options' => array(
				'order' => 10,
				'label' => 'Сообщение',
				'required' => true,
				'filters' => array(
					'StringTrim',
				),
				'validators' => array(),
			)
		),
        'comment_material_id' => array(
			'type' => 'hidden',
			'options' => array(
				'order' => 20,
				'required' => true,
				'filters' => array(
					'Int',
				),
				'validators' => array(),
			)
        ),
 		'submit' => array(
			'type' => 'submit',
			'options' => array(
				'order' => 10000,
            	'title' => 'Добавить',
				'ignore' => true
			)
		)
    )
);

?>